package com.master.service.parking.parkingPalce;

import com.master.constant.model.SysParkingPlace;

import java.util.List;
import java.util.Map;

/**
 * @author Heath.Que
 * @version 1.0
 * @classname SysParkingPlaceService
 * @description TODO
 * @Date 2021/5/31 11:40
 **/
public interface SysParkingPlaceService {

    /**
     * @Description: 按条件获取停车位信息
     * @Parameter: [params]
     * @Return: java.util.List<com.master.constant.model.SysParkingPlace>
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    List<SysParkingPlace> getParkingPlaceByCondition(Map<String, Object> params);
    
    /**
     * @Description: TODO
     * @Parameter: [parkingPlace]
     * @Return: int
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    int modifyParkingPlace(SysParkingPlace parkingPlace);
    
    /**
     * @Description: TODO
     * @Parameter: [parkingPlaces]
     * @Return: int
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    int modifyParkingPlaces(List<SysParkingPlace> parkingPlaces);
    
    /**
     * @Description: TODO
     * @Parameter: [parkingPlaceId]
     * @Return: int
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    int deleteParkingPlaceByParkingPlaceId(List<Long> parkingPlaceId);

    /**
     * @Description: TODO
     * @Parameter: [parkingPlaceIds]
     * @Return: int
     * @author: Heath.Que
     * @Date: 2021/5/31
     **/
    int deleteParkingPlacesByParkingPlaceIds(List<Long> parkingPlaceIds);
}
